package com.briup.myblog.bean.ext;

import com.briup.myblog.bean.basic.Article;
import com.briup.myblog.bean.basic.BaseUser;
import com.briup.myblog.bean.basic.Category;
import com.briup.myblog.bean.basic.Comment;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ArticleExt extends Article {

    private List<BaseUser> baseUsers;

    private List<Category> categories;

    private List<Comment> comments;



    public List<BaseUser> getBaseUsers(){
        return baseUsers;
    }

    public void setBaseUsers(List<BaseUser> baseUsers){this.baseUsers= baseUsers;}

    public List<Category> getCategories(){return categories;}

    public void setCategories(List<Category> categories){this.categories =categories;}

    public List<Comment> getComments(){return comments;}

    public void setComments(List<Comment> comments){this.comments = comments;}
}